0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
AS5165 AB

AS5165 AB

  • 厂商:

    ADMOS

  • 封装:

  • 描述:

    AS5165 - 磁性,旋转位置 评估板 -xa0传感器

  • 数据手册
  • 价格&库存
AS5165 AB 数据手册
Preliminary Data Sheet AS5165 A U TO M O T I V E A n g l e P o s i t i o n S e n s o r w i t h S E N T J 2 7 1 6 1 General Description 2 Key Features The AS5165 is a contactless magnetic angle position sensor for accurate angular measurement over a full turn of 360º. A sub range can be programmed to achieve the best resolution for the application. It is a system-on-chip, combining integrated Hall elements, analog front end, digital signal processing and best in class automotive protection features in a single device. 360º contactless high resolution angular position encoding To measure the angle, only a simple two-pole magnet, rotating over the center of the chip, is required. The magnet may be placed above or below the IC. Small Pb-free package: TSSOP 14 User programmable start and end point of the application region User programmable clamping levels and programming of the transition point Wide temperature range: - 40ºC to + 150ºC 3 Applications The absolute angle measurement provides instant indication of the magnet’s angular position with a programmable resolution of 0.022º = 16384 positions per revolution. According to this resolution the adjustment of the application specific mechanical positions are possible. The angular output data is available over the SENT J2716 interface. The AS5165 is suitable for Automotive applications like throttle and valve position sensing and several power train applications. The AS5165 operates at a supply voltage of 5V and the supply and output pins are protected against overvoltage up to +27V. In addition the supply pins are protected against reverse polarity up to -18V. Figure 1. AS5165 Block Diagram VDD5 VDD3 VDD High voltage / Reverse polarity protection Hall Array Frontend Amplifier AS5165 OTP Register Single pin Interface Sin Cos CORDIC 14bit Angle Output DSP 12 SENT J2716 OUT Driver OUT ADC GND www.austriamicrosystems.com/AS5165 Revision 0.1 1 - 32 AS5165 Preliminary Data Sheet - C o n t e n t s Contents 1 General Description .................................................................................................................................................................. 1 2 Key Features............................................................................................................................................................................. 1 3 Applications............................................................................................................................................................................... 1 4 Pin Assignments ....................................................................................................................................................................... 3 4.1 Pin Descriptions.................................................................................................................................................................................... 3 5 Absolute Maximum Ratings ...................................................................................................................................................... 4 6 Electrical Characteristics........................................................................................................................................................... 5 6.1 Operating Conditions............................................................................................................................................................................ 5 6.2 Magnetic Input Specification................................................................................................................................................................. 5 6.3 Electrical System Specifications........................................................................................................................................................... 6 6.4 Timing Characteristics .......................................................................................................................................................................... 7 7 Detailed Description.................................................................................................................................................................. 8 7.1 Operation.............................................................................................................................................................................................. 9 7.1.1 VDD Voltage Monitor ................................................................................................................................................................... 9 7.2 Output Characteristic ........................................................................................................................................................................ 7.2.1 7.2.2 7.2.3 7.2.4 7.2.5 7.2.6 Programming Parameters.......................................................................................................................................................... Application Specific Angular Range Programming .................................................................................................................... Application Specific Programming of the Break Point ............................................................................................................... Full Scale Mode ......................................................................................................................................................................... Resolution of the Parameters .................................................................................................................................................... SENT Output Driver Parameters ............................................................................................................................................... 8 Application Information ........................................................................................................................................................... 8.1 9 10 10 11 11 12 12 13 Programming the AS5165............................................................................................................................................................... 13 8.1.1 Hardware Setup......................................................................................................................................................................... 13 8.1.2 Protocol Timing and Commands of Single Pin Interface ........................................................................................................... 14 8.2 OTP Programming Data ..................................................................................................................................................................... 23 8.2.1 Read / Write User Data.............................................................................................................................................................. 27 8.2.2 Programming Procedure............................................................................................................................................................ 27 8.3 Choosing the Proper Magnet .......................................................................................................................................................... 28 8.3.1 Physical Placement of the Magnet ............................................................................................................................................ 29 8.3.2 Magnet Placement..................................................................................................................................................................... 29 9 Package Drawings and Markings ........................................................................................................................................... 30 10 Ordering Information............................................................................................................................................................. 32 www.austriamicrosystems.com/AS5165 Revision 0.1 2 - 32 AS5165 Preliminary Data Sheet - P i n A s s i g n m e n t s 4 Pin Assignments Figure 2. TSSOP-14 Pin Configuration 1 14 OUT VDD5 2 13 NC NC 3 12 GNDP VDD3 4 11 NC GNDA 5 10 NC NC 6 9 NC NC 7 8 GNDD AS5165 VDD 4.1 Pin Descriptions Table 1. TSSOP-14 Pin Descriptions Pin Name Pin Number Pin Type VDD 1 Supply pin Positive supply pin. This pin is overvoltage protected. VDD5 2 Supply pin 4.5V- Regulator output, internally regulated from VDD. This pin needs an external ceramic capacitor of 2.2 µF NC 3 Multi purpose pin VDD3 4 Supply pin 3.45V- Regulator output, internally regulated from VDD5. This pin needs an external ceramic capacitor of 2.2 µF GNDA 5 Supply pin Analog ground pin. Connected to ground in the application. NC 6 Multi purpose pin Test pins for fabrication. Connected to ground in the application. NC 7 Multi purpose pin Test pins for fabrication. Open in the application. GNDD 8 Supply pin NC 9 Multi purpose pin Test pins for fabrication. Connected to ground in the application. NC 10 Multi purpose pin Test pins for fabrication. Connected to ground in the application. NC 11 NC GNDP 12 Supply pin NC 13 Multi purpose pin Test pins for fabrication. Connected to ground in the application. OUT 14 Multi purpose pin SENT output pin. www.austriamicrosystems.com/AS5165 Description Test pins for fabrication. Connected to ground in the application. Digital ground pin. Connected to ground in the application. Unconnected (not bonded) Analog ground pin. Connected to ground in the application. Revision 0.1 3 - 32 AS5165 Preliminary Data Sheet - A b s o l u t e M a x i m u m R a t i n g s 5 Absolute Maximum Ratings Stresses beyond those listed in Table 2 may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in Electrical Characteristics on page 5 is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Table 2. Absolute Maximum Ratings Symbol Parameter Min Max Units Comments VDD DC supply voltage at pin VDD Overvoltage -18 27 V No operation VOUT Output voltage OUT -0.3 27 V permanent VDD3 DC supply voltage at pin VDD3 -0.3 5.5 V VDD5 DC supply voltage at pin VDD5 -0.3 7 V ISCR Input current (latchup immunity) -100 100 mA Norm: JEDEC 78 ±4 kV Norm: MIL 883 E method 3015 VDD, GND, OUT and KDOWN Pin. All other pins ±2 kV 150 ºC Min -67ºF; Max +257ºF 260 ºC t=20 to 40s, The reflow peak soldering temperature (body temperature) specified is in accordance with IPC/JEDEC J-STD-020C “Moisture/Reflow Sensitivity Classification for Non-Hermetic Solid State Surface Mount Devices”. The lead finish for Pb-free leaded packages is matte tin (100% Sn). 85 % ESD Electrostatic discharge TStrg Storage temperature TBODY Body temperature (Lead-free package) H Humidity non-condensing www.austriamicrosystems.com/AS5165 -55 5 Revision 0.1 4 - 32 AS5165 Preliminary Data Sheet - E l e c t r i c a l C h a r a c t e r i s t i c s 6 Electrical Characteristics 6.1 Operating Conditions Table 3. Operating Conditions Symbol Parameter Conditions Min TAMB Ambient temperature -40ºF…+302ºF -40 ISUPP Supply current VDD Supply voltage at pin VDD VDD3 Voltage regulator output voltage at pin VDD3 VDD5 Voltage regulator output voltage at pin VDD5 5V Operation Typ Max Units +150 ºC 15 mA 4.5 5.0 5.5 3.3 3.45 3.6 V Max Units 4.5 6.2 Magnetic Input Specification TAMB = -40 to +150ºC, VDD5 = 4.5-5.5V (5V operation) unless otherwise noted. Two-pole cylindrical diametrically magnetized source: Table 4. Magnetic Input Specification Symbol Parameter Conditions dmag Diameter tmag Thickness Recommended magnet: Ø 6mm x 2.5mm for cylindrical magnets Bpk Magnetic input field amplitude Required vertical component of the magnetic field strength on the die’s surface, measured along a concentric circle with a radius of 1.1mm Boff Magnetic offset Min Typ 6 mm 2.5 mm 70 mT Constant magnetic stray field ±10 mT Field non-linearity Including offset gradient 5 % Disp Displacement radius Offset between defined device center and magnet axis (see Figure 25). Dependant on the selected magnet. 0.25 1 mm Ecc Eccentricity Eccentricity of magnet center to rotational axis 100 Recommended magnet material and temperature drift NdFeB (Neodymium Iron Boron) -0.12 SmCo (Samarium Cobalt) -0.035 www.austriamicrosystems.com/AS5165 Revision 0.1 30 µm %/K 5 - 32 AS5165 Preliminary Data Sheet - E l e c t r i c a l C h a r a c t e r i s t i c s 6.3 Electrical System Specifications TAMB = -40 to +150ºC, VDD = 4.5-5.5V (5V operation) unless otherwise noted. Table 5. Electrical System Specifications Symbol Parameter RES Resolution SENT Output Max Units 12 bit Integral non-linearity (optimum) 360 degree full turn Maximum error with respect to the best line fit. Centered magnet without calibration, TAMB =25ºC. This is specified over 360 degrees. A sub range may improve the nonlinearity. ±0.5 deg Integral non-linearity (optimum) 360 degree full turn Maximum error with respect to the best line fit. Centered magnet without calibration, TAMB = -40 to +150ºC. This is specified over 360 degrees. A sub range may improve the non-linearity. ±0.9 deg INL Integral non-linearity 360 degree full turn Best line fit = (Errmax – Errmin) / 2 Over displacement tolerance with 6mm diameter magnet, without calibration, TAMB = -40 to +150ºC. This is specified over 360 degrees. A sub range may improve the non-linearity ±1.4 deg TN Transition noise 1 sigma VON Power-on reset thresholds On voltage; 300mV typical hysteresis INLopt INLtemp VOFF Power-on reset thresholds Off voltage; 300mV typical hysteresis tPwrUp Power-up time tdelay System propagation delay absolute output: delay of ADC, DSP and absolute interface Conditions Min Typ Deg RMS 0.06 1.37 2.2 2.9 1.08 1.9 2.6 DC supply voltage 3.3V (VDD3) Fast mode, times 2 in slow mode V 10 ms 100 µs Note: The INL performance is specified over the full turn of 360 degrees. An operation in an angle segment increases the accuracy. A two point linearization is recommended to achieve the best INL performance for the chosen angle segment. www.austriamicrosystems.com/AS5165 Revision 0.1 6 - 32 AS5165 Preliminary Data Sheet - E l e c t r i c a l C h a r a c t e r i s t i c s 6.4 Timing Characteristics Table 6. Timing Conditions Symbol Parameter Conditions Min Typ Max Units FRCOT Internal Master Clock ±10% 4.05 4.5 4.95 MHz TCLK Interface Clock Time TCLK = 1 / FRCOT 222.2 ns T1 Bit first level 128 TCLK T2 Bit second level 384 TCLK TBIT Bit Time 512 TCLK START Packet start 1 TBIT PACKET Packet 20 TBIT IDLE Idle Time 1 TBIT TSW Switch Time 10 TBIT TDETWD WatchDog error detection time www.austriamicrosystems.com/AS5165 12 Revision 0.1 ms 7 - 32 AS5165 Preliminary Data Sheet - D e t a i l e d D e s c r i p t i o n 7 Detailed Description The AS5165 is manufactured in a CMOS process and uses a spinning current Hall technology for sensing the magnetic field distribution across the surface of the chip. The integrated Hall elements are placed around the center of the device and deliver a voltage representation of the magnetic field at the surface of the IC. Through Sigma-Delta Analog / Digital Conversion and Digital Signal-Processing (DSP) algorithms, the AS5165 provides accurate high-resolution absolute angular position information. For this purpose, a Coordinate Rotation Digital Computer (CORDIC) calculates the angle and the magnitude of the Hall array signals. The DSP is also used to provide digital information at the outputs that indicate movements of the used magnet towards or away from the device’s surface. A small low cost diametrically magnetized (two-pole) standard magnet provides the angular position information (see Figure 24). The AS5165 senses the orientation of the magnetic field and calculates a 14-bit binary code. This code is mapped to a programmable output characteristic. A 12-bit output data and diagnostic bits are transmitted by the SENT J2716 output. This signal is available at the pin 14 (OUT). The SENT output can be configured in many ways. The application angular region can be programmed in a user friendly way. The start angle position T1 and the end point T2 can be set and programmed according the mechanical range of the application with a resolution of 14 bits. In addition, the T1Y and T2Y parameter can be set and programmed according to the application. The transition point 0 to 360 degree can be shifted using the break point parameter BP. This point is programmable with a high resolution of 14 bits of 360 degrees. The voltage for clamping level low CLL and clamping level high CLH can be programmed with a resolution of 8 bits. Both levels are individually adjustable. The AS5165 is configured by default in the single secure sensor format described in Appendix (Section A.3) of SAE-J2716 definition. It is possible to program the device to implement the Single Sensor format described in Appendix (Section A.4) of the SAE-J2716. This selection is programmed by the RollCnt user bit. The output parameters can be programmed in an OTP register. No additional voltage is required to program the AS5165. The setting may be overwritten at any time and will be reset to default when power is cycled. To make the setting permanent, the OTP register must be programmed by using a lock bit and the content could be frozen for ever. The AS5165 is tolerant to magnet misalignment and unwanted external magnetic fields due to differential measurement technique and Hall sensor conditioning circuitry. Figure 3. Typical Arrangement of AS5165 and Magnet www.austriamicrosystems.com/AS5165 Revision 0.1 8 - 32 AS5165 Preliminary Data Sheet - D e t a i l e d D e s c r i p t i o n 7.1 Operation The AS5165 operates at 5V ±10%, using two internal Low-Dropout (LDO) voltage regulators. For operation, the 5V supply is connected to pin VDD. While VDD3 and VDD5 (LDO outputs) must be buffered by 2.2µF capacitors, the VDD requires a 1µF capacitor. All capacitors (low ESR ceramic) are supposed to be placed close to the supply pins (see Figure 4). The VDD3 and VDD5 outputs are intended for internal use only. It must not be loaded with an external load. Figure 4. Connections for 5V Supply Voltages 5V Operation 2.2µF 2.2µF VDD5 VDD3 1µF VDD LDO LDO Internal VDD4.5V Internal VDD3.45V 4.5 - 5.5V GND Note: The pins VDD3 and VDD5 must always be buffered by a capacitor. It must not be left floating, as this may cause instable internal supply voltages which may lead to larger output jitter of the measured angle. The supply pins are overvoltage protected up to 27V. In addition, the device has a reverse polarity protection. 7.1.1 VDD Voltage Monitor VDD Overvoltage Management. If the voltage applied to the VDD pin exceeds the overvoltage upper threshold for longer than the detection time, then the device enters a low power mode reducing the power consumption. When the overvoltage event has passed and the voltage applied to the VDD pin falls below the overvoltage lower threshold for longer than the recovery time, then the device enters the normal mode. VDD5 Undervoltage Management. When the voltage applied to the VDD5 pin falls below the undervoltage lower threshold for longer than the VDD5_detection time, then the device stops the clock of the digital part and the output drivers are turned off to reduce the power consumption. When the voltage applied to the VDD5 pin exceeds the VDD5 undervoltage upper threshold for longer than the VDD5_recovery time, then the clock is restarted and the output drivers are turned on. 7.2 Output Characteristic The pin OUT provides the SENT output format with a push/pull output driver. The DSP maps the application range to the output characteristic. An inversion of the slope is also programmable to allow inversion of the rotation direction. www.austriamicrosystems.com/AS5165 Revision 0.1 9 - 32 AS5165 Preliminary Data Sheet - D e t a i l e d D e s c r i p t i o n 7.2.1 Programming Parameters The analog output voltage modes are programmable by OTP. Depending on the application, the analog output can be adjusted. The user can program the following application specific parameters: T1 Mechanical angle start point T2 Mechanical angle end point T1C Output code at the T1 position T2C Output code at the T2 position CLL Clamping Level Low CLH Clamping Level High BP Break point (transition point 0 to 360 degree) These parameters are input parameters. The parameters are converted over the provided programming software and programmer and finally written into the AS5165 128 bit OTP memory. 7.2.2 Application Specific Angular Range Programming The application range can be selected by programming T1 with a related T1C and T2 with a related T2C into the AS5165. The internal gain factor is calculated automatically. The clamping levels CLL and CLH can be programmed independent from the T1 and T2 position and both levels can be separately adjusted. Figure 5. Programming of an Individual Application Range 90 degree Application range electrical range T2 mechanical range T1 100% clamping range high CLH CLL 0 degree T2C 180 degree CLH T1C BP CLL 0 270 degree clamping range low T1 T2 Figure 5 shows a simple example of the selection of the range. The mechanical starting point T1 and the mechanical end point T2 are defining the mechanical range. A sub range of the internal Cordic output range is used and mapped to the needed output characteristic. The output signal has 12-bit, hence the level T1C and T2C can be adjusted with this resolution. As a result of this level and the calculated slope, the clamping region low is defined. The break point BP defines the transition between CLL and CLH. In this example, the BP is set to 0 degree. The BP is also the end point of the clamping level high CLH. This range is defined by the level CLH and the calculated slope. Both clamping levels can be set independently form each other. The minimum application range is 10 degrees. In addition, the BP parameter specifies the used sector. The BP parameter must be set outside of the application range. www.austriamicrosystems.com/AS5165 Revision 0.1 10 - 32 AS5165 Preliminary Data Sheet - D e t a i l e d D e s c r i p t i o n 7.2.3 Application Specific Programming of the Break Point The break point BP can be programmed as well with a resolution of 14 bits. This is important when the default transition point is inside the application range. In such a case, the default transition point must be shifted out of the application range. The parameter BP defines the new position. The function can be used also for an on-off indication. Figure 6. Individual Programming of the Break Point BP Application range 90 degree electrical range T2 mechanical range T1 100% CLH clamping range high CLH 0 degree T2C 180 degree CLL T1C CLL BP 0 270 degree 7.2.4 clamping range low T1 T2 clamping range low Full Scale Mode Without programming the parameters T1 and T2, the AS5165 is in the full scale mode. Figure 7. Full Scale Mode Output Code 100 % 0 360 For simplification, Figure 7 describes a linear output format. Due to the digital output, a rail to rail operation is possible. (as indicated Figure 7). www.austriamicrosystems.com/AS5165 Revision 0.1 11 - 32 AS5165 Preliminary Data Sheet - D e t a i l e d D e s c r i p t i o n 7.2.5 Resolution of the Parameters The programming parameters have a wide resolution up to 14 bits. Table 7. Resolution of the Programming Parameters Symbol Parameter Resolution Note T1 Mechanical angle start point 14 bits 000h – FFFh T2 Mechanical angle stop point 14 bits 000h – FFFh T1C Output Code at mechanical start point 12 bits 000h – 3FFh T2C Output Code at mechanical end point 12 bits 000h – 3FFh CLL Clamping level low 8 bits 4080 LSBs is the maximum level CLH Clamping level high 8 bits 15 LSBs is the minimum level BP Break point 14 bits 000h – FFFh Figure 8. Overview of the Angular Output Voltage 100 Clamping Region High Output Code in percent CLH T2C Application Region T1C CLL Clamping Region Low 0 Figure 8 gives an overview of the different ranges. 7.2.6 SENT Output Driver Parameters The output stage is configured in a push-pull output. Therefore it is possible to sink and source currents. www.austriamicrosystems.com/AS5165 Revision 0.1 12 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n 8 Application Information The benefits of AS5165 are as follows: Unique fully differential patented solution Insensitive to external magnetic stray fields Best protections for automotive applications Easy to program Ideal for applications in harsh environments due to contactless position sensing Robust system, tolerant to magnet misalignment, air gap variations, temperature variations No calibration required because of inherent accuracy 8.1 Programming the AS5165 The AS5165 programming is a one-time-programming (OTP) method, based on polysilicon fuses. The advantage of this method is that no additional programming voltage is needed. The internal LDO provides the current for programming. The OTP consists of 128 bits; several bits are available for user programming. In addition, the factory settings are stored in the OTP memory. Both regions are independently lockable by built-in lock bits. A single OTP cell can be programmed only once. By default, the cell is “0”; a programmed cell will contain a “1”. While it is not possible to reset a programmed bit from “1” to “0”, multiple OTP writes are possible, as long as only unprogrammed “0”-bits are programmed to “1”. Independent of the OTP programming, it is possible to overwrite the OTP register temporarily with an OTP write command. This is possible only if the user lock bit is not programmed. Due to the programming over the output pin, the device will initially start in the communication mode. In this mode the digital angle value can be read with a specific protocol format. It is a bidirectional communication possible. Parameters can be written into the device. A programming of the device is triggered by a specific command. With another command (pass2func) the device can be switched into operation mode. In case of a programmed user lock bit, the AS5165 automatically starts up in the functional operation mode. No communication of the specific protocol is possible after this. 8.1.1 Hardware Setup For OTP memory access, the pin OUT and the supply connection is required. Without the programmed Mem_Lock_USER OTP bit, the device will start up in the communication mode and will remain into an IDLE operation mode. The pull up resistor RCommunication is required during startup. www.austriamicrosystems.com/AS5165 Revision 0.1 13 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n Figure 9. Programming Schematic of the AS5165 SENSOR PCB VDD VDD 1uF AS5165 2.2uF (low ESR) 2.2uF (low ESR) 0.3 O VDD5 VDD3 VDD Programmer RComunication OUT DIO GNDA GNDD GNDP GND 8.1.2 GND Protocol Timing and Commands of Single Pin Interface During the communication mode, the output level is defined by the external pull up resistor RCommunication. The output driver of the device is in tristate. The bit coding (shown in Figure 10) has been chosen in order to allow the continuous synchronization during the communication, which can be required due to the tolerance of the internal clock frequency. Figure 10 shows how the different logic states '0' and '1' are defined. The period of the clock TCLK is defined with 222.2 ns. The voltage levels VH and VL are CMOS typical. Each frame is composed by 20 bits. The 4 MSB (CMD) of the frame specifies the type of command that is passed to the AS5165. 16 data bits contain the communication data. There will be no operation in case of the usage of a not specified CMD. The sequence is oriented in a way that the LSB of the data is coming first followed by the command. Depending on the command the number of frames is different. The single pin programming interface block of the AS5165 can operate in slave communication or master communication mode. In the slave communication mode, the AS5165 receives the data organized in frames. The programming tool is the driver of the single communication line and can pull down the level. In case of the master communication mode, the AS5165 transmits data in the frame format. The single communication line can be pulled down by the AS5165. www.austriamicrosystems.com/AS5165 Revision 0.1 14 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n Figure 10. Bit Coding of the Single Pin Programming Interface Bit “0“ Bit “1“ VH VH VL VL T1 T2 T1 T2 T1 = 128*TCLK TBIT = T1 + T2 =512*TCLK T2 = 384*TCLK Figure 11. Protocol Definition IDLE START PACKET DATA www.austriamicrosystems.com/AS5165 IDLE START COMMAND Revision 0.1 15 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n Table 8. OTP Commands and Communication Interface Modes Possible Interface Commands Description AS5165 Communication Mode Command CMD Number of Frames UNBLOCK Resets the interface SLAVE 0x0 1 WRITE128 Writes 128 bits (user+ factory settings) into the device SLAVE 0x9 (0x1) 8 READ128 Read 128 bits (user+ factory settings) from the device SLAVE and MASTER 0xA 9 UPLOAD Transfers the register content into the OTP memory SLAVE 0x6 1 DOWNLOAD Transfers the OTP content to the register content SLAVE 0x5 1 FUSE Command for permanent programming SLAVE 0x4 1 PASS2FUNC Change operation mode from communication to operation SLAVE 0x7 1 READ Read related to address the user data SLAVE and MASTER 0xB 2 WRITE Write related to address the user data SLAVE 0xC 1 Note: The command CMD 0x2 is reserved for AMS test purpose. When single pin programming interface bus is in high impedance state, the logical level of the bus is held by the pull up resistor RCommunication. Each communication begins by a condition of the bus level which is called START. This is done by forcing the bus in logical low level (done by the programmer or AS5165 depending on the communication mode). Afterwards the bit information of the command is transmitted as shown in Figure 12. DATA14 MSB LSB DATA2 1 0 0 1 MSB MSB LSB LSB DATA3 MSB LSB DATA0 MSB MSB LSB DATA1 LSB LSB START IDLE MSB Figure 12. Bus Timing for the WRITE128 Command 1 0 0 0 1 0 0 0 20*TBIT 0 1 0 1 IDLE 0 0 0 P DATA3 DATA14 MSB LSB DATA0 MSB DATA1 MSB LSB LSB MSB DO NOT CARE MSB LSB DO NOT CARE MSB LSB START IDLE LSB Figure 13. Bus Timing for the READ128 Command 0 0 0 P 20*TBIT Slave Communication Mode Master Communication Mode TSW In case of READ or READ128 command (Figure 13) the idle phase between the command and the answer is 10 TBIT (TSW). www.austriamicrosystems.com/AS5165 Revision 0.1 16 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n DATA0 MSB DATA1 MSB LSB LSB ADDR1 MSB MSB LSB ADDR2 MSB LSB START IDLE LSB Figure 14. Bus Timing for the READ Commands IDLE 0 1 0 1 0 0 0 P 20*TBIT Slave Communication Mode TSW Master Communication Mode In case of a WRITE command, the device stays in slave communication mode and will not switch to master communication mode. When using other commands like DOWNLOAD, UPLOAD, etc. instead of READ or WRITE, it does not matter what is written in the address fields (ADDR1, ADDR2). Unblock. The Unblock command can be used to reset only the one-wire interface of the AS5165 in order to recover the possibility to communicate again without the need of a POR after a stacking event due to noise on the bus line or misalignment with the AS5165 protocol. The command is composed by a not idle phase of at least 6 TBIT followed by a packet with all 20 bits at zero (see Figure 15). Figure 15. Unblock Sequence VH VL NOT IDLE = 6 * TBIT => 3072* TCLK IDLE START PACKET[19:0] = 0x00000 IDLE 20*TBIT => 10240*TCLK = 512*TCLK = 512*TCLK = 512*TCLK COMMAND FROM EXT MASTER www.austriamicrosystems.com/AS5165 Revision 0.1 17 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n WRITE128. Figure 16 shows the format of the frame and the command. Figure 16. Frame Organization of the WRITE128 Command DATA1 DATA0 MSB LSB LSB CMD MSB LSB 1 DATA3 DATA2 MSB LSB LSB DATA4 MSB LSB DATA6 LSB LSB DATA8 MSB LSB DATA10 MSB LSB DATA12 MSB LSB DATA14 MSB LSB MSB 0 0 0 MSB 0 0 LSB 1 LSB 0 0 CMD MSB DATA15 0 LSB 1 LSB 0 CMD MSB DATA13 0 MSB LSB 1 LSB 0 CMD MSB DATA11 0 MSB 0 LSB 1 LSB 0 CMD MSB DATA9 MSB 0 LSB 1 MSB 1 CMD MSB DATA7 0 LSB 1 LSB 0 CMD MSB DATA5 MSB MSB 0 0 0 CMD MSB LSB 1 MSB 0 0 0 The command contains 8 frames. With this command the AS5165 is only receiving frames. This command will transfer the data in the special function registers (SFRs) of the device. The data is not permanent programmed using this command. Table 9 describes the organization of the OTP data bits. The access is performed with CMD field set to 0x9. The next 7 frames with CMD field set to 0x1. The 2 bytes of the first command will be written at address 0 and 1 of the SFRs, the 2 bytes of the second at address 2 and 3 and so on in order to cover all the 16 bytes of the 128 SFRs. Note: It is important to always complete the command. All 8 frames are needed. In case of a wrong command or a communication error a power on reset must be performed. The device will be delivered with the programmed Mem_Lock_AMS OTP bit. This bit locks the content of the factory settings. It is impossible to overwrite this particular region. The written information will be ignored. www.austriamicrosystems.com/AS5165 Revision 0.1 18 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n READ128. Figure 17 shows the format of the frame and the command. Figure 17. Frame Organization of the READ128 Command DO NOT CARE DO NOT CARE MSB LSB LSB CMD MSB LSB 0 DATA1 DATA0 MSB LSB LSB DATA2 LSB DATA4 LSB LSB DATA8 LSB LSB LSB P 0 0 P 0 0 P MSB DATA15 DATA14 MSB 0 CMD DUMMY DATA12 0 LSB 0 MSB DATA13 MSB P CMD DUMMY DATA10 0 LSB 0 MSB DATA11 MSB 0 CMD DUMMY 0 LSB P MSB DATA9 MSB 0 CMD DUMMY DATA6 0 LSB 0 MSB DATA7 MSB P CMD DUMMY 0 LSB 0 MSB DATA5 MSB 0 CMD DUMMY 0 LSB 1 MSB DATA3 MSB 0 CMD DUMMY 0 LSB MSB 1 LSB 0 0 P CMD DUMMY MSB 0 0 0 P The command is composed by a first frame transmitted to the AS5165. The device is in slave communication mode. The device remains for the time TSWITCH in IDLE mode before changing into the master communication mode. The AS5165 starts to send 8 frames. This command will read the SFRs. The numbering of the data bytes correlates with the address of the related SFR. An even parity bit is used to guarantee a correct data transmission. Each parity (P) is related to the frame data content of the 16 bit word. The MSB of the CMD dummy (P) is reserved for the parity information. www.austriamicrosystems.com/AS5165 Revision 0.1 19 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n DOWNLOAD. Figure 18 shows the format of the frame. Figure 18. Frame Organization of the DOWNLOAD Command DO NOT CARE DO NOT CARE MSB LSB LSB CMD MSB LSB 1 MSB 0 1 0 The command consists of one frame received by the AS5165 (slave communication mode). The OTP cell fuse content will be downloaded into the SFRs. The access is performed with CMD field set to 0x5. UPLOAD. Figure 19 shows the format of the frame. Figure 19. Frame Organization of the UPLOAD Command DO NOT CARE DO NOT CARE MSB LSB LSB CMD MSB LSB 0 MSB 1 1 0 The command consists of one frame received by the AS5165 (slave communication mode) and transfers the data from the SFRs into the OTP fuse cells. The OTP fuses are not permanent programmed using this command. The access is performed with CMD field set to 0x6. FUSE. Figure 20 shows the format of the frame. Figure 20. Frame Organization of the FUSE Command DO NOT CARE LSB DO NOT CARE MSB LSB CMD MSB LSB 0 MSB 0 1 0 The command consists of one frame received by the AS5165 (slave communication mode) and it is giving the trigger to permanent program the non volatile fuse elements. The access is performed with CMD field set to 0x4. Note: After this command, the device automatically starts to program the built-in programming procedure. It is not allowed to send other commands during this programming time. This time is specified to 4ms after the last CMD bit. www.austriamicrosystems.com/AS5165 Revision 0.1 20 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n PASS2FUNC. Figure 21 shows the format of the frame. Figure 21. Frame Organization of the PASS2FUNC Command DO NOT CARE DO NOT CARE MSB LSB LSB CMD MSB LSB 1 MSB 1 1 0 The command consists of one frame received by the AS5165 (slave communication mode). This command stops the communication receiving mode, releases the reset of the DSP of the AS5165 device and starts to work in functional mode with the values of the SFR currently written. The access is performed with CMD field set to 0x7. READ. Figure 22 shows the format of the frame. Figure 22. Frame Organization of the READ Command ADDR2 ADDR1 MSB LSB LSB CMD MSB LSB 1 DATA2 LSB DATA1 MSB LSB MSB 1 0 1 CMD DUMMY MSB 0 0 0 P The command is composed by a first frame sent to the AS5165. The device is in slave communication mode. The device remains for the time TSWITCH in IDLE mode before changing into the master communication mode. The AS5165 starts to send the second frame transmitted by the AS5165. The access is performed with CMD field set to 0xB. When the AS5165 has received the first frame, it sends a frame with data value of the address specified in the field of the first frame. Table 10 shows the possible readable data information for the AS5165 device. An even parity bit is used to guarantee a correct data transmission. The parity bit (P) is generated by the 16 data bits. The MSB of the CMD dummy (P) is reserved for the parity information. www.austriamicrosystems.com/AS5165 Revision 0.1 21 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n WRITE. Figure 23 shows the format of the frame. Figure 23. Frame Organization of the WRITE Command DATA LSB ADDR MSB LSB CMD MSB LSB 0 MSB 0 1 1 The command consists of one frame received by the AS5165 (slave communication mode). The data byte will be written to the address. The access is performed with CMD field set to 0xC. Table 10 shows the possible write data information for the AS5165 device. Note: It is not recommended to access OTP memory addresses using this command. www.austriamicrosystems.com/AS5165 Revision 0.1 22 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n 8.2 OTP Programming Data Table 9. OTP Data Organization Data Byte DATA14 (0x0E) DATA13 (0x0D) DATA11 (0x0B) Default 0 AMS_Test FS 1 AMS_Test FS 2 AMS_Test FS 3 AMS_Test FS 4 AMS_Test FS 5 AMS_Test FS 6 AMS_Test FS 7 AMS_Test FS 0 AMS_Test FS 1 AMS_Test FS 2 AMS_Test FS 3 AMS_Test FS 4 ChipID FS 5 ChipID FS 6 ChipID FS 7 ChipID FS 0 ChipID FS 1 ChipID FS 2 ChipID FS 3 ChipID FS 4 ChipID FS 5 ChipID FS 6 ChipID FS 7 ChipID FS 0 ChipID FS 1 ChipID FS 2 ChipID FS 3 ChipID FS 4 ChipID FS 5 ChipID FS 6 ChipID FS 7 ChipID FS 0 ChipID FS 1 MemLock_AMS 1 www.austriamicrosystems.com/AS5165 Revision 0.1 Description AMS Test area Chip ID Customer Settings DATA12 (0x0C) Symbol Factory Settings DATA15 (0x0F) Bit Number Lock of the Factory Setting Area 23 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n Table 9. OTP Data Organization Data Byte DATA10 (0x0A) DATA8 (0x08) DATA7 (0x07) Symbol Default 2 KD 0 3 KD 0 4 KD 0 5 KD 0 6 KD 0 7 KD 0 0 ClampLow 0 1 ClampLow 0 2 ClampLow 0 3 ClampLow 0 4 ClampLow 0 5 ClampLow 0 6 ClampLow 0 7 DITH_DISABLE 0 0 ClampHi 0 1 ClampHi 0 2 ClampHi 0 3 ClampHi 0 4 ClampHi 0 5 ClampHi 0 6 ClampHi 0 7 DIAG_HIGH 0 0 OffsetIn 0 1 OffsetIn 0 2 OffsetIn 0 3 OffsetIn 0 4 OffsetIn 0 5 OffsetIn 0 6 OffsetIn 0 7 OffsetIn 0 0 OffsetIn 0 1 OffsetIn 0 2 OffsetIn 0 3 OffsetIn 0 4 OffsetIn 0 5 OffsetIn 0 6 OP_Mode 0 7 OP_Mode 0 www.austriamicrosystems.com/AS5165 Revision 0.1 Description Kick Down Threshold Clamping Level Low DAC12/DAC10 Mode Clamping Level High Diagnostic Mode, default =0 for Failure Band Low Customer Settings DATA9 (0x09) Bit Number Offset Selection of Analog, PWM or Digital Mode 24 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n Table 9. OTP Data Organization Data Byte DATA6 (0x06) DATA5 (0x05) DATA3 (0x003) DATA2 (0x02) Symbol Default 0 OffsetOut 0 1 OffsetOut 0 2 OffsetOut 0 3 OffsetOut 0 4 OffsetOut 0 5 OffsetOut 0 6 OffsetOut 0 7 OffsetOut 0 0 OffsetOut 0 1 OffsetOut 0 2 OffsetOut 0 3 OffsetOut 0 4 KDHYS 0 5 KDHYS 0 6 PWM Frequency 0 7 PWM Frequency 0 0 BP 0 1 BP 0 2 BP 0 3 BP 0 4 BP 0 5 BP 0 6 BP 0 7 BP 0 0 BP 0 1 BP 0 2 BP 0 3 BP 0 4 BP 0 5 BP 0 6 FAST_SLOW 0 Output Data Rate 7 ALARM_DISABLE 0 Alarm Disable 0 Gain 0 1 Gain 0 2 Gain 0 3 Gain 0 4 Gain 0 5 Gain 0 www.austriamicrosystems.com/AS5165 Revision 0.1 Description Output Offset Kick Down Hysteresis select the PWM frequency (4 frequencies) Customer Settings DATA4 (0x04) Bit Number Break Point Gain 25 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n Table 9. OTP Data Organization Data Byte DATA1 (0x01) Symbol Default Description 6 Gain 0 7 Gain 0 0 Gain 0 1 Gain 0 2 Gain 0 3 Gain 0 4 Gain 0 5 Gain 0 6 Invert_slope 0 Clockwise/counterclockwise rotation 7 Lock_OTPCUST 0 Customer Memory Lock 0 redundancy 0 1 redundancy 0 2 redundancy 0 3 redundancy 0 4 redundancy 0 5 redundancy 0 6 redundancy 0 7 redundancy 0 Gain Customer Settings DATA0 (0x00) Bit Number Redundancy Bits Note: Factory settings (FS) are used for testing and programming at AMS. These settings are locked (only read access possible). Data Content: Redundancy (7:0): For a better programming reliability, a redundancy is implemented. In case the programming of one bit fails, then this function can be used. With an address (7:0) one bit can be selected and programmed. Lock_OTPCUST = 1, locks the customer area in the OTP and the device is starting up from now on in operating mode. Invert_Slope = 1, inverts the output characteristic in analog output mode. Gain (7:0): With this value one can adjust the steepness of the output slope. EXT_RANGE = 1, provides a wider z-Range of the magnet by turning off the alarm function. FAST_SLOW = 1, improves the noise performance due to internal filtering. BP (13:0): The breakpoint can be set with resolution of 14-bit. OffsetOut (11:0): Output characteristic parameter OffsetIn (13:0): Output characteristic parameter DIAG_HIGH = 1: In case of an error, the signal goes into high failure-band. ClampHI (6:0) sets the clamping level high with respect to VDD. DITH_DISABLE disables filter at DAC. ClampLow (6:0) sets the clamping level low with respect to VDD. www.austriamicrosystems.com/AS5165 Revision 0.1 26 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n 8.2.1 Read / Write User Data Table 10. Read / Write Data Address Address 0x10 16 0x11 17 0 0 0x12 18 OCF COF 0x17 23 R/W User Data Area Region Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 CORDIC_OUT[7:0] CORDIC_OUT[13:8] 0 0 0 0 DSP_RE R1K_10K S AGC_VALUE[7:0] Read only Read and Write Data Content: Data only for read: CORDIC_OUT(13:0): 14 bit absolute angular position data. OCF (Offset Compensation Finished): logic high indicates the finished Offset Compensation Algorithm. As soon as this bit is set, the AS5165 has completed the startup and the data is valid. COF (Cordic Overflow): Logic high indicates an out of range error in the CORDIC part. When this bit is set, the CORDIC_OUT(13:0) data is invalid. The absolute output maintains the last valid angular value. This alarm may be resolved by bringing the magnet within the X-Y-Z tolerance limits. AGC_VALUE (7:0): magnetic field indication Data for write and read: DSP_RES resets the DSP part of the AS5165 the default value is 0. This is active low. The interface is not affected by this reset. R1K_10K defines the threshold level for the OTP fuses. This bit can be changed for verification purpose. A verification of the programming of the fuses is possible. The verification is mandatory after programming. 8.2.2 Programming Procedure Pull-up on out pin VDD=5V Wait startup time, device enters communication mode Write128 command: The trimming bits are written in the SFR memory. Read128 command: The trimming bits are read back. Upload command: The SFR memory is transferred into the OTP RAM. Fuse command: The OTP RAM is written in the Poly Fuse cells. Wait fuse time (6 ms) Write command (R1K_10K=1): Poly Fuse cells are transferred into the RAM cells compared with 10KΩ resistor. Download command: The OTP RAM is transferred into the SFR memory. Read128 command: The fused bits are read back. Write command (R1K_10K=0): Poly Fuse cells are transferred into the RAM cells compared with 1KΩ resistor. Download command: The OTP RAM is transferred into the SFR memory. Read128 command: The fused bits are read back. Pass2Func command: Go back in normal mode For further information, please refer to Application Note AN_AS5165-10. www.austriamicrosystems.com/AS5165 Revision 0.1 27 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n 8.3 Choosing the Proper Magnet The AS5165 works with a variety of different magnets in size and shape. A typical magnet could be 6mm in diameter and ≥2.5mm in height. Magnetic materials such as rare earth AlNiCo/SmCo5 or NdFeB are recommended. The magnetic field strength perpendicular to the die surface has to be in the range of ±30mT…±70mT (peak). The magnet’s field strength should be verified using a gauss-meter. The magnetic field Bv at a given distance, along a concentric circle with a radius of 1.1mm (R1), should be in the range of ±30mT…±70mT (see Figure 24). Figure 24. Typical Magnet (6x3mm) and Magnetic Field Distribution typ. 6mm diameter N S Magnet axis R1 Magnet axis Vertical field component N S R1 concentric circle; radius 1.1mm Vertical field component Bv (30…70mT) 0 www.austriamicrosystems.com/AS5165 360 Revision 0.1 28 - 32 AS5165 Preliminary Data Sheet - A p p l i c a t i o n I n f o r m a t i o n 8.3.1 Physical Placement of the Magnet The best linearity can be achieved by placing the center of the magnet exactly over the defined center of the chip as shown in Figure 25. Figure 25. Defined Chip Center and Magnet Displacement Radius 3.2 mm 3.2 mm 1 2.5 mm Defined center Rd 2.5 mm 8.3.2 Area of recommended maximum magnet misalignment Magnet Placement The magnet’s center axis should be aligned within a displacement radius Rd of 0.25mm (larger magnets allow more displacement) from the defined center of the IC. The magnet may be placed below or above the device. The distance should be chosen such that the magnetic field on the die surface is within the specified limits (see Figure 25). The typical distance “z” between the magnet and the package surface is 0.5mm to 1.5mm, provided the use of the recommended magnet material and dimensions (6mm x 3mm). Larger distances are possible, as long as the required magnetic field strength stays within the defined limits. However, a magnetic field outside the specified range may still produce usable results, but the out-of-range condition will be indicated by an alarm forcing the output into the failure band. Figure 26. Vertical Placement of the Magnet N S Package surface Die surface 0.2299±0.100 0.2341±0.100 0.7701±0.150 www.austriamicrosystems.com/AS5165 Revision 0.1 29 - 32 AS5165 Preliminary Data Sheet - P a c k a g e D r a w i n g s a n d M a r k i n g s 9 Package Drawings and Markings The device is available in a 14-Lead Thin Shrink Small Outline Package. Figure 27. 14-pin TSSOP Drawings and Dimensions b A2 A E1 AYWWIZZ AS5165 A1 D E Symbol A A1 A2 b D E E1 e mm Typ Min 0.05 0.8 0.19 4.9 6.2 4.3 Max 1.2 0.15 1.05 0.30 5.1 6.6 4.48 0.10 1 5 6.4 4.4 0.65 inch Typ Min .002 0.031 0.007 0.193 0.244 0.169 .004 0.039 0.197 0.252 0.173 .0256 Max 0.047 .006 0.041 0.012 0.201 0.260 0.176 Marking: AYWWIZZ. A Y WW I ZZ Pb-Free Identifier Last Digit of Manufacturing Year Manufacturing Week Plant Identifier Traceability Code JEDEC Package Outline Standard: MO - 153 Thermal Resistance Rth(j-a): 89 K/W in still air, soldered on PCB www.austriamicrosystems.com/AS5165 Revision 0.1 30 - 32 AS5165 Preliminary Data Sheet - R e v i s i o n H i s t o r y Revision History Revision Date Owner Description 0.1 May 10, 2010 apg Initial revision Note: Typos may not be explicitly mentioned under revision history. www.austriamicrosystems.com/AS5165 Revision 0.1 31 - 32 AS5165 Preliminary Data Sheet - O r d e r i n g I n f o r m a t i o n 10 Ordering Information The devices are available as the standard products shown in Table 11. Table 11. Ordering Information Ordering Code Description Delivery Form Package AS5165HTSU 14-Bit Programmable Magnetic Rotary Encoder Tubes TSSOP-14 Note: All products are RoHS compliant and Pb-free. Buy our products or get free samples online at ICdirect: http://www.austriamicrosystems.com/ICdirect For further information and requests, please contact us mailto:sales@austriamicrosystems.com or find your local distributor at http://www.austriamicrosystems.com/distributor Copyrights Copyright © 1997-2010, austriamicrosystems AG, Tobelbaderstrasse 30, 8141 Unterpremstaetten, Austria-Europe. Trademarks Registered ®. All rights reserved. The material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. All products and companies mentioned are trademarks or registered trademarks of their respective companies. Disclaimer Devices sold by austriamicrosystems AG are covered by the warranty and patent indemnification provisions appearing in its Term of Sale. austriamicrosystems AG makes no warranty, express, statutory, implied, or by description regarding the information set forth herein or regarding the freedom of the described devices from patent infringement. austriamicrosystems AG reserves the right to change specifications and prices at any time and without notice. Therefore, prior to designing this product into a system, it is necessary to check with austriamicrosystems AG for current information. This product is intended for use in normal commercial applications. Applications requiring extended temperature range, unusual environmental requirements, or high reliability applications, such as military, medical life-support or life-sustaining equipment are specifically not recommended without additional processing by austriamicrosystems AG for each application. For shipments of less than 100 parts the manufacturing flow might show deviations from the standard production flow, such as test flow or test location. The information furnished here by austriamicrosystems AG is believed to be correct and accurate. However, austriamicrosystems AG shall not be liable to recipient or any third party for any damages, including but not limited to personal injury, property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or consequential damages, of any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. No obligation or liability to recipient or any third party shall arise or flow out of austriamicrosystems AG rendering of technical or other services. Contact Information Headquarters austriamicrosystems AG Tobelbaderstrasse 30 A-8141 Unterpremstaetten, Austria Tel: +43 (0) 3136 500 0 Fax: +43 (0) 3136 525 01 For Sales Offices, Distributors and Representatives, please visit: http://www.austriamicrosystems.com/contact www.austriamicrosystems.com/AS5165 Revision 0.1 32 - 32
AS5165 AB 价格&库存

很抱歉,暂时无法提供与“AS5165 AB”相匹配的价格&库存,您可以联系我们找货

免费人工找货